package stat

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ UserDailyLoginStatModel = (*customUserDailyLoginStatModel)(nil)

type (
	// UserDailyLoginStatModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUserDailyLoginStatModel.
	UserDailyLoginStatModel interface {
		userDailyLoginStatModel
	}

	customUserDailyLoginStatModel struct {
		*defaultUserDailyLoginStatModel
	}
)

// NewUserDailyLoginStatModel returns a model for the database table.
func NewUserDailyLoginStatModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) UserDailyLoginStatModel {
	return &customUserDailyLoginStatModel{
		defaultUserDailyLoginStatModel: newUserDailyLoginStatModel(conn, c, opts...),
	}
}
